

<?php  $this->beginBlock('css'); ?>
<link rel="stylesheet" type="text/css" href="<?=Yii::getAlias('@static')?>/wap/liketry/css/goods.css">
<?php $this->endBlock();?>
<header>
  <!--<div class="header-left" onclick="history.go(-1)"><span class="icon icon-arrow-left"></span></div>-->
  <h1>分类列表</h1>
  <!--<div class="header-right" onclick="$.go('<?=Yii::$app->urlManager->createUrl(['index'])?>');" ><span class="icon icon-home"></span></div>-->
</header>
<section class="classify-menu box box-vertical box-sizing">
    <div class="line1 box flex1 box-center">
        <a href="<?=Yii::$app->urlManager->createUrl(['goods-list/index','cate_id'=>1]);?>" class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu1.png"><p><?php echo $category_list[1]['name'] ?></p></a>
        <a href="<?=Yii::$app->urlManager->createUrl(['goods-list/index','cate_id'=>2]);?>" class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu2.png"><p><?php echo $category_list[2]['name'] ?></p></a>
    </div>
    <div class="line2 box flex1 box-center">
        <a href="<?=Yii::$app->urlManager->createUrl(['goods-list/index','cate_id'=>3]);?>" class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu3.png"><p><?php echo $category_list[3]['name'] ?></p></a>
        <a href="<?=Yii::$app->urlManager->createUrl(['goods-list/index','cate_id'=>4]);?>" class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu4.png"><p><?php echo $category_list[4]['name'] ?></p></a>
    </div>
    <div class="line3 box flex1 box-center">
        <a href="<?=Yii::$app->urlManager->createUrl(['goods-list/index','cate_id'=>6]);?>" class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu6.png"><p><?php echo $category_list[6]['name'] ?></p></a>
        <a class="flex1"><img src="<?= Yii::getAlias('@static')?>/wap/liketry/images/menu7.png"><p>敬请期待</p></a>
    </div>
</section>
<nav>
    <div class="box">
    <a href="<?=Yii::$app->urlManager->createUrl(['index/index']);?>" class="flex1"><span></span><p>首页</p></a>
    <a href="<?=Yii::$app->urlManager->createUrl(['category/index']);?>" class="flex1 cur"><span></span><p>分类</p></a>
    <a href="<?=Yii::$app->urlManager->createUrl(['cart/index']);?>" class="flex1"><span></span><p>购物车</p></a>
    <a href="<?=Yii::$app->urlManager->createUrl(['user-center/index']);?>" class="flex1"><span></span><p>个人中心</p></a>
    </div>
</nav>

<?php $this->beginBlock('js');?>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/zepto.min.js"></script>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/fastclick.min.js"></script>
<?php $this->endBlock();?>

